package com.example.study;

/**
 * VM args:-Xss128k
 * 
 * @author lli
 *
 * @version 1.0
 *
 */
public class JavaVMStackSOF {

    public static void main(String[] args) {
        JavaVMStackSOF a = new JavaVMStackSOF();
        a.stackLeak();
    }

    private int i = 0;

    public void stackLeak() {
        System.out.println(i++);
        stackLeak();

    }
}
